package com.prs.crm.service.crm.impl;

import java.util.List;

import com.prs.crm.dao.crm.CustomerAddressDao;
import com.prs.crm.domain.crm.CustomerAddress;
import com.prs.crm.service.crm.CustomerAddressService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class CustomerAddressServiceImpl extends BaseServiceImpl<CustomerAddress,CustomerAddressDao> implements CustomerAddressService{

	@Override
	public List<CustomerAddress> getAddressByAddress(
			CustomerAddress customerAddress) {
		// TODO Auto-generated method stub
		return this.getDao().getAddressByAddress(customerAddress);
	}

	@Override
	public List<CustomerAddress> getFatherAddress() {
		// TODO Auto-generated method stub
		return this.getDao().getAddressFather();
	}

	@Override
	public List<CustomerAddress> getalladdress() {
		// TODO Auto-generated method stub
		return this.getDao().getAllAddress();
	}

}
